<base href="<?php echo $tpl_vars['base_href']; ?>" />
<meta http-equiv="Content-type" content="text/html; charset=<?php echo $tpl_vars['charset']; ?>" />
<?php if ($tpl_vars['title']) { ?>
    <title><?php echo $tpl_vars['title']; ?></title>
<?php } ?>
<?php if ($tpl_vars['robots']) { ?>
    <meta name="Robots" content="<?php echo $tpl_vars['robots']; ?>" />
<?php } ?>
<?php if ($tpl_vars['keywords']) { ?>
    <meta name="Keywords" content="<?php echo $tpl_vars['keywords']; ?>" />
<?php } ?>
<?php if ($tpl_vars['description']) { ?>
    <meta name="Description" content="<?php echo $tpl_vars['description']; ?>" />
<?php } ?>
    <style type="text/css">
<?php 
    if ($tpl_vars['css_tbl']) {
        foreach ($tpl_vars['css_tbl'] as $css_ind => $css_path) {
            echo "\t".'@import "'. $css_path .'" ;'."\n" ;
        }
    }
?>
    </style>
<?php 
    if ($tpl_vars['js_tbl']) {
        foreach ($tpl_vars['js_tbl'] as $js_ind => $js_path) {
            echo "\t"."\t"."\t".'<script src="'. $js_path .'" type="text/javascript"></script>'."\n" ;
        }
    }
?>
